package master.photo.domain

class Photo {
	
	Long id;
	
	String photoName;
	byte[] photo;
	Date dateCreated;
	Date lastUpdated;
	
	static belongsTo = [photoAlbum: PhotoAlbum]
	
	static constraints = {
		photoName(blank: true)
		photo(nullable: false)
	}
}
